﻿@section HeaderSection
{
<link href="../Content/Styles/page_styles.css" rel="stylesheet" type="text/css" />    
}
   
@model RipPoll.Web.Mvc.Models.SignInModel
@{
    ViewBag.Title = "User";
}

@{
    
    ViewBag.Title = "   Sign In";
    ViewBag.PageDivId = "headerGeneric2";
}
@section StatusMessage
{
        
        @TempData[RipPoll.Common.WebConstants.SignInMessage]
  
 }     
 
 @section LocalHeaderSection
{
    <div id="pageTitle">    
        <span class="pageTitle">Sign In</span>
        <div id="pageSubtitle">
            <span class="pageSubtitle">Sign in to Rippoll</span>
        </div>
    </div>
}                 

    <div style="margin-left:200px">
       <form id="create1Form" action="signin" method="post">
        <div style="background: #FFF; border: 10px solid #999; height: 340px; width:495px" id="1234">
        <table width="485">
            <tr>
                <td>
                        <div id="registerHeader">
                          <img src="../content/images/login_here.png" width="485" height="50" border="0" usemap="#Map2" />
                          <map name="Map2" id="Map2">
                            <area shape="rect" coords="445,10,478,40" href="#" onclick="MM_showHideLayers('apDiv4','','hide')" />
                          </map>
                        </div>
                        <div id="loginRightCol">
                          <table width="79%" border="0" align="center" cellpadding="5" cellspacing="0">
                            <tr>
                              <td width="63" align="right" class="formTopics">username or email</td>
                              <td width="291" colspan="3" align="center">
                                @*<input name="usernameoremail" type="text" class="formTextArea" id="usernameoremail" size="45" class="password3" />*@
                                @Html.TextBoxFor(m => m.usernameoremail)
                                <br />
                                @Html.ValidationMessageFor(m => m.usernameoremail)
                              </td>
                            </tr>
                            <tr>
                              <td align="right" class="formTopics">password</td>

                              <td colspan="3" align="center">
                                @*<input name="password" type="password" class="formTextArea" id="password" class="password4" size="45" />*@
                                @Html.PasswordFor(m=>m.password)
                                <br />
                                @Html.ValidationMessageFor(m => m.password)
                              </td>
                            </tr>
                            <tr>
                              <td colspan="4" align="center"><input name="checkbox2" type="checkbox" id="checkbox2" checked="checked" />
                                Remember me</td>
                            </tr>
                            <tr>
                              <td colspan="4" align="center"><input type="submit" name="Register" id="Register" value="Login" /></td>

                            </tr>
                          </table>
                        </div>
                </td>
            </tr>
        </table>
        </div>
</form>
    </div>